package lang4j.parser.generated;
//meta2 now!

import lang4j.parser.Position;
import lang4j.parser.ParsedEntity;
                              
public class Keyword  implements Terminal,ParsedEntity {

// Attributes
    private String text;
    
    Position mStart;
    Position mEnd;

    public Keyword(){
    }

    public Position mGetStart(){
        return mStart;
    }
    public Position mGetEnd(){
        return mEnd;
    }

    public void mSetStart(Position start){
        this.mStart=start;
    }

    public void mSetEnd(Position end){
      this.mEnd=end;
    }


// Accessors ******************************************************************

    public String getText(){
        return text;
    }

    public void setText(String text){
        this.text=text;
    }


// Acceptors ******************************************************************
    public void accept(TerminalVisitor visitor){
        visitor.visitKeyword(this);
    }
    public void accept(ProductionFactorVisitor visitor){
        visitor.visitTerminal(this);
    }


// Transformers ******************************************************************
    public <T> T transform(TerminalTransformer<T> transformer){
        return transformer.transformKeyword(this);
    }
    public <T> T transform(ProductionFactorTransformer<T> transformer){
        return transformer.transformTerminal(this);
    }


// Property based type identification ****************************************

    public boolean isKeyword(){
        return true;
    }
}